<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="css/style.css" rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--  <script type="application/x-javascript"> 
			addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
			function hideURLbar(){ window.scrollTo(0,1); } 
			</script>-->
<link
	href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800'
	rel='stylesheet' type='text.css' />

</head>
<body>
	<div class="main">
		<div class="header">
			<h1>Login or Create a Free Account!</h1>
		</div>
		<p>Lorem iopsum dolor sit amit,consetetur sadipscing eliter,sed
			diam voluptua.At vero eso et accusam et justo duo dolores et ea
			rebum.</p>
		<form action="user_register" method="post">
			<ul class="left-form">
				<h2>New Account:</h2>
				<li><input type="text" placeholder="Username" name="username"
					required />
					<div class="clear"></div></li>
				<li><input type="text" placeholder="Email" name="email"
					required />
					<div class="clear"></div></li>
				<li><input type="password" placeholder="password"
					name="password" required />
					<div class="clear"></div></li>
				<li><input type="password" placeholder="password"
					name="password1" required />
					<div class="clear"></div></li>
				<s:property value="session.tips"></s:property>
				<label class="checkbox"><input type="checkbox"
					name="checkbox" checked=""><i> </i>Please inform me of
					upcoming w3layouts, Promotions and news</label>
				<input type="submit" value="Create Account">
				<div class="clear"></div>
			</ul>
		</form>
		<form action="user_login" method="post">
			<ul class="right-form">
				<h3>Login:</h3>
				<div>
					<font size="2" color="red"> <s:property value="fieldErrors.tips" /></font>
					<li><input type="text" placeholder="Username" name="username"
						required /></li>
					<li><input type="password" placeholder="Password"
						name="password" required /></li>
					<h4>I forgot my Password!</h4>
					<input type="submit" onclick="myFunction()" value="Login">
				</div>
				<div class="clear"></div>
			</ul>
		</form>
		<div class="clear"></div>



	</div>
	<!-----start-copyright---->
	<div class="copy-right">
		<p>
			Template by <a href="http://w3layouts.com">w3layouts</a>
		</p>
	</div>
	<!-----//end-copyright---->
	<s:debug></s:debug>

</body>
</html>